// =================================================================================================
//
//	CopyEngine Framework
//	Copyright 2012 Eran. All Rights Reserved.
//
//	This program is free software. You can redistribute and/or modify it
//	in accordance with the terms of the accompanying license agreement.
//
// =================================================================================================

package
{
    import flash.external.ExtensionContext;

    public class CEAmrRecordANE
    {
        private static const FUN_PLAY_AMR:String = "lifeCircleHandle";

        private static const FUN_STOP_RECORD_AMR:String = "showFeedback";

        private static const FUN_START_RECORD_AMR:String = "gameAnalysis";

        private static const FUN_INITIALIZE:String="initialize"

        private static const EXTENSION_ID:String = "CopyEngine.AmrRecordANE";//与extension.xml中的id标签一致

        private var extContext:ExtensionContext;

        public function CEAmrRecordANE()
        {

        }

        public function isSupported():Boolean
        {
            return true;
        }

        public function initialize(_isDebug:Boolean = false):void
        {
            extContext = ExtensionContext.createExtensionContext(EXTENSION_ID, "");
            extContext && extContext.call(FUN_LIFE_CIRCLE_HANDLE, "initialize", _isDebug, _isOnlineUpdateConfig);
        }

        public function playAMR():void
        {
        }

        public function stopRecord():void
        {
        }

        public function startRecord():void
        {
        }


    }
}
